package com.shun.upms.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 系统内部机构表
 * </p>
 *
 * @author clever
 * @since 2021-10-03
 */
@TableName("sys_admin_dept")
@ApiModel(value = "SysAdminDept对象", description = "系统内部机构表")
public class SysAdminDept implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId
    private String deptId;

    @ApiModelProperty("父机构id")
    private String deptPid;

    @ApiModelProperty("父级ids")
    private String deptPids;

    @ApiModelProperty("机构简称")
    private String deptSimpleName;

    @ApiModelProperty("机构全称")
    private String deptFullName;

    @ApiModelProperty("机构描述")
    private String deptDesc;

    @ApiModelProperty("机构排序")
    private Integer deptSort;

    @ApiModelProperty("负责人")
    private String deptLeader;

    @ApiModelProperty("创建时间")
    private LocalDateTime dateCreated;

    @ApiModelProperty("更新时间")
    private LocalDateTime dateUpdated;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("修改人")
    private String updateUser;

    @ApiModelProperty("删除标识 0 正常 1 删除")
    @TableLogic
    private String delFlag;

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptPid() {
        return deptPid;
    }

    public void setDeptPid(String deptPid) {
        this.deptPid = deptPid;
    }

    public String getDeptPids() {
        return deptPids;
    }

    public void setDeptPids(String deptPids) {
        this.deptPids = deptPids;
    }

    public String getDeptSimpleName() {
        return deptSimpleName;
    }

    public void setDeptSimpleName(String deptSimpleName) {
        this.deptSimpleName = deptSimpleName;
    }

    public String getDeptFullName() {
        return deptFullName;
    }

    public void setDeptFullName(String deptFullName) {
        this.deptFullName = deptFullName;
    }

    public String getDeptDesc() {
        return deptDesc;
    }

    public void setDeptDesc(String deptDesc) {
        this.deptDesc = deptDesc;
    }

    public Integer getDeptSort() {
        return deptSort;
    }

    public void setDeptSort(Integer deptSort) {
        this.deptSort = deptSort;
    }

    public String getDeptLeader() {
        return deptLeader;
    }

    public void setDeptLeader(String deptLeader) {
        this.deptLeader = deptLeader;
    }

    public LocalDateTime getDateCreated() {
        return dateCreated;
    }

    public void setDateCreated(LocalDateTime dateCreated) {
        this.dateCreated = dateCreated;
    }

    public LocalDateTime getDateUpdated() {
        return dateUpdated;
    }

    public void setDateUpdated(LocalDateTime dateUpdated) {
        this.dateUpdated = dateUpdated;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "SysAdminDept{" +
        "deptId=" + deptId +
        ", deptPid=" + deptPid +
        ", deptPids=" + deptPids +
        ", deptSimpleName=" + deptSimpleName +
        ", deptFullName=" + deptFullName +
        ", deptDesc=" + deptDesc +
        ", deptSort=" + deptSort +
        ", deptLeader=" + deptLeader +
        ", dateCreated=" + dateCreated +
        ", dateUpdated=" + dateUpdated +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        ", delFlag=" + delFlag +
        "}";
    }
}
